package com.gljx.web.service;

import java.util.List;
import java.util.Map;

import com.gljx.web.Entity.Car;

public interface CarService {

	Map<String, Object> selectPage(int pindex, String psql, int psize);

	Map<String, Object> selectPageCount(String psql);
	/**
	 * 根据fid删除
	 * @param fid
	 */
	void deleteByPrimaryKey(String fid);

	/**
	 * 根据车牌号码查询
	 * @param fnumber
	 * @return
	 */
	List<Car>queryCarByFnumber(String fnumber,String companyId);
	
	/**
	 * 添加车辆
	 * @param car
	 */
	void addCar(Car car);
	
	/**
	 * 根据fid查询
	 * @param fid
	 * @return
	 */
	Car queryCarByFid(String fid);

	/**
	 * 修改车辆信息方法
	 * @param car
	 */
	void modifyCarByFid(Car car);

    List<Car> queryCar(String compangId);

    List<Car> queryCarByName(String name, String compangId);

    List<Car> queryCarByInfo(String name,String fnumber);
	
	String selectCarFnumber(String fnumber,String companyId);

	List<Car> selectCarExcel(String fnumber, String fcompanyid);
}
